package com.hellpro.lolbox.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

/**
 * Package_Name: com.hellpro.lolbox.bean
 * Description :
 * author: HellPermanent
 * date:  2016/10/20 21:50
 * remarks：
 */
public class ZXZp implements Parcelable {

    /**
     * totalPage : 85
     * totalRecord : 848
     * pageNum : 1
     * pageSize : 10
     * data : [{"galleryId":"129475","title":"腿玩年~九尾妖狐阿狸COS","description":"","coverUrl":"http://s1.dwstatic.com/group1/M00/E5/98/af7bd7c40733d3be7f49b69b17c65596.png","coverWidth":"195","coverHeight":"244","created":"1476951539","updated":"1476951539","picsum":"6","commentCount":"0","clicks":"0","modify_time":"2016-10-20 16:18:59","destUrl":"http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129475&amp;type=beautifulWoman"},{"galleryId":"129377","title":"你要来一只萝莉吗？","description":"","coverUrl":"http://s1.dwstatic.com/group1/M00/93/40/1201bada539ce6370eb41c2d7f480540.jpg","coverWidth":"195","coverHeight":"260","created":"1476672783","updated":"1476672783","picsum":"9","commentCount":"4","clicks":"0","modify_time":"2016-10-20 10:23:02","destUrl":"http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129377&amp;type=beautifulWoman"},{"galleryId":"129356","title":"泳池派对蕾欧娜COS","description":"","coverUrl":"http://s1.dwstatic.com/group1/M00/CA/C6/7b25483a2fd0eee8a613001563a3330b.png","coverWidth":"195","coverHeight":"193","created":"1476497804","updated":"1476497804","picsum":"9","commentCount":"2","clicks":"0","modify_time":"2016-10-17 20:23:07","destUrl":"http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129356&amp;type=beautifulWoman"},{"galleryId":"129279","title":"腿玩年~风女COS","description":"","coverUrl":"http://s1.dwstatic.com/group1/M00/F9/9E/690e052c7a0517be592103e0addd9792.jpg","coverWidth":"194","coverHeight":"292","created":"1476330383","updated":"1476330383","picsum":"9","commentCount":"1","clicks":"0","modify_time":"2016-10-19 20:23:04","destUrl":"http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129279&amp;type=beautifulWoman"},{"galleryId":"129197","title":"来自韩国的豹女 这一款你们总该喜欢了吧？","description":"","coverUrl":"http://s1.dwstatic.com/group1/M00/2E/B3/736cdca1d0e64d5549d3a655417b96ed.jpg","coverWidth":"195","coverHeight":"293","created":"1476091500","updated":"1476091500","picsum":"17","commentCount":"6","clicks":"0","modify_time":"2016-10-11 20:23:02","destUrl":"http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129197&amp;type=beautifulWoman"},{"galleryId":"129180","title":"来自新西兰的奈德丽 这样的豹女你喜欢么？","description":"","coverUrl":"http://s1.dwstatic.com/group1/M00/D8/49/69a8852bb31019433e0cf6fc567c6302.jpg","coverWidth":"195","coverHeight":"293","created":"1476088584","updated":"1476088584","picsum":"9","commentCount":"6","clicks":"0","modify_time":"2016-10-11 10:23:02","destUrl":"http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129180&amp;type=beautifulWoman"},{"galleryId":"129120","title":"COS 妖艳阿卡丽！奉均衡之命","description":"","coverUrl":"http://s1.dwstatic.com/group1/M00/62/2C/6a39941b930433086cd39f86c6459a24.png","coverWidth":"195","coverHeight":"251","created":"1475912504","updated":"1475912504","picsum":"11","commentCount":"2","clicks":"0","modify_time":"2016-10-10 10:23:02","destUrl":"http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129120&amp;type=beautifulWoman"},{"galleryId":"129101","title":"霸气蔚 你要跟我一起来抓坏人么","description":"","coverUrl":"http://s1.dwstatic.com/group1/M00/4C/50/51091e12ed0d81ba4c92542abcb58149.jpg","coverWidth":"195","coverHeight":"156","created":"1475725444","updated":"1475725444","picsum":"11","commentCount":"2","clicks":"0","modify_time":"2016-10-09 00:23:02","destUrl":"http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129101&amp;type=beautifulWoman"},{"galleryId":"129068","title":"电玩阿狸~你喜欢么","description":"","coverUrl":"http://s1.dwstatic.com/group1/M00/CC/89/446de854230aa7a4faf1175349879bb6.png","coverWidth":"195","coverHeight":"293","created":"1475465391","updated":"1475465391","picsum":"7","commentCount":"9","clicks":"0","modify_time":"2016-10-06 00:23:02","destUrl":"http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129068&amp;type=beautifulWoman"},{"galleryId":"129003","title":"深夜福利~诱惑阿狸","description":"","coverUrl":"http://s1.dwstatic.com/group1/M00/37/DF/f7966d0f2190d20df93c00c7cfaee75f.jpg","coverWidth":"195","coverHeight":"292","created":"1475167856","updated":"1475167856","picsum":"10","commentCount":"15","clicks":"0","modify_time":"2016-10-17 03:51:43","destUrl":"http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129003&amp;type=beautifulWoman"}]
     */

    private int totalPage;
    private int totalRecord;
    private int pageNum;
    private int pageSize;
    /**
     * galleryId : 129475
     * title : 腿玩年~九尾妖狐阿狸COS
     * description :
     * coverUrl : http://s1.dwstatic.com/group1/M00/E5/98/af7bd7c40733d3be7f49b69b17c65596.png
     * coverWidth : 195
     * coverHeight : 244
     * created : 1476951539
     * updated : 1476951539
     * picsum : 6
     * commentCount : 0
     * clicks : 0
     * modify_time : 2016-10-20 16:18:59
     * destUrl : http://box.dwstatic.com/unsupport.php?lolboxAction=toAlbumDetail&amp;albumId=129475&amp;type=beautifulWoman
     */

    private List<DataBean> data;

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getTotalRecord() {
        return totalRecord;
    }

    public void setTotalRecord(int totalRecord) {
        this.totalRecord = totalRecord;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable {
        private String galleryId;
        private String title;
        private String description;
        private String coverUrl;
        private String coverWidth;
        private String coverHeight;
        private String created;
        private String updated;
        private String picsum;
        private String commentCount;
        private String clicks;
        private String modify_time;
        private String destUrl;

        public String getGalleryId() {
            return galleryId;
        }

        public void setGalleryId(String galleryId) {
            this.galleryId = galleryId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getCoverUrl() {
            return coverUrl;
        }

        public void setCoverUrl(String coverUrl) {
            this.coverUrl = coverUrl;
        }

        public String getCoverWidth() {
            return coverWidth;
        }

        public void setCoverWidth(String coverWidth) {
            this.coverWidth = coverWidth;
        }

        public String getCoverHeight() {
            return coverHeight;
        }

        public void setCoverHeight(String coverHeight) {
            this.coverHeight = coverHeight;
        }

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public String getUpdated() {
            return updated;
        }

        public void setUpdated(String updated) {
            this.updated = updated;
        }

        public String getPicsum() {
            return picsum;
        }

        public void setPicsum(String picsum) {
            this.picsum = picsum;
        }

        public String getCommentCount() {
            return commentCount;
        }

        public void setCommentCount(String commentCount) {
            this.commentCount = commentCount;
        }

        public String getClicks() {
            return clicks;
        }

        public void setClicks(String clicks) {
            this.clicks = clicks;
        }

        public String getModify_time() {
            return modify_time;
        }

        public void setModify_time(String modify_time) {
            this.modify_time = modify_time;
        }

        public String getDestUrl() {
            return destUrl;
        }

        public void setDestUrl(String destUrl) {
            this.destUrl = destUrl;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.galleryId);
            dest.writeString(this.title);
            dest.writeString(this.description);
            dest.writeString(this.coverUrl);
            dest.writeString(this.coverWidth);
            dest.writeString(this.coverHeight);
            dest.writeString(this.created);
            dest.writeString(this.updated);
            dest.writeString(this.picsum);
            dest.writeString(this.commentCount);
            dest.writeString(this.clicks);
            dest.writeString(this.modify_time);
            dest.writeString(this.destUrl);
        }

        public DataBean() {
        }

        protected DataBean(Parcel in) {
            this.galleryId = in.readString();
            this.title = in.readString();
            this.description = in.readString();
            this.coverUrl = in.readString();
            this.coverWidth = in.readString();
            this.coverHeight = in.readString();
            this.created = in.readString();
            this.updated = in.readString();
            this.picsum = in.readString();
            this.commentCount = in.readString();
            this.clicks = in.readString();
            this.modify_time = in.readString();
            this.destUrl = in.readString();
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel source) {
                return new DataBean(source);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.totalPage);
        dest.writeInt(this.totalRecord);
        dest.writeInt(this.pageNum);
        dest.writeInt(this.pageSize);
        dest.writeList(this.data);
    }

    public ZXZp() {
    }

    protected ZXZp(Parcel in) {
        this.totalPage = in.readInt();
        this.totalRecord = in.readInt();
        this.pageNum = in.readInt();
        this.pageSize = in.readInt();
        this.data = new ArrayList<DataBean>();
        in.readList(this.data, DataBean.class.getClassLoader());
    }

    public static final Parcelable.Creator<ZXZp> CREATOR = new Parcelable.Creator<ZXZp>() {
        @Override
        public ZXZp createFromParcel(Parcel source) {
            return new ZXZp(source);
        }

        @Override
        public ZXZp[] newArray(int size) {
            return new ZXZp[size];
        }
    };
}
